home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 110 / EnigmaAmiga110CD.iso / dalla rivista / host contacted / ksc_grepmem.readme < prev    next >
Text File  |  2000-03-19  |  2KB  |  54 lines

  1. Short:    Search memory for text
  2. Author:   Kyzer/CSG
  3. Uploader: Kyzer/CSG <kyzer@4u.net>
  4. Type:     util/cli
  5.  
  6. GrepMem is named after a unix program that hunts through files for a string
  7. or  a  pattern.  However,  GrepMem  doesn't do patterns. It searches for an
  8. exact  match  of  the string you supply. Also, GrepMem doesn't look through
  9. files. It looks through raw memory.
  10.  
  11. Usage: GrepMem "<search text>" [START <address>] [END <address>] [PADZERO]
  12.  
  13. Notes:
  14. - You  do  not  have to, but it is a good idea to put "double quotes" round
  15.   the  string  that  you  want to search for. Why? Well, getting your input
  16.   into memory and printing it out a few times will leave some copies around
  17.   in  memory.  If you put quotes around your string, it will search for the
  18.   string WITHOUT THE QUOTES, and if it finds a copy that *is* in quotes, it
  19.   will NOT match it.
  20.  
  21. - To  define  an area of memory to search, you must supply both a start and
  22.   end  address,  which  both  must  be valid hexadecimal numbers (these can
  23.   begin  with  '0x'  or  '$'  if you like). If you don't complete this, the
  24.   assumed search area will be all of chip memory.
  25.  
  26. - There is a PADZERO option which, if enabled, means GrepMem will print the
  27.   addresses of matches with full 8 byte addresses, instead of using spaces.
  28.  
  29. - You  can  break  any  time by pressing CTRL-C. The break is checked every
  30.   time a match is found.
  31.  
  32. - GrepMem is pure and can be made resident.
  33.  
  34. - GrepMem is incompatible with Enforcer-like tools, for obvious reasons.
  35.  
  36. Examples:
  37.  
  38. look through chipmem for a powerpacker file
  39. 1> grepmem "PP20"
  40. look through the amiga rom for references to Amiga
  41. 1> grepmem "Amiga" f80000 1000000
  42.  
  43. Requires 2.0 or better.
  44.  
  45. ****************************************************************************
  46. *          THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION         *
  47. *           The KyzSmlClxn is a set of small yet useful commands.          *
  48. *                                                                          *
  49. *       Commands are installed by copying them to your C: directory.       *
  50. *     Source is included, and is licensed under the GNU GPL version 2.     *
  51. *                                                                          *
  52. *  Email Kyzer/CSG <kyzer@4u.net> or see the website at http://zap.to/kyz  *
  53. ****************************************************************************
  54.